<%@page import="com.hh.baseframework.util.statics.SysParam"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String name = "";
	String password = "";
	String cookie = "";
	try {
		Cookie[] cookies = request.getCookies();
		if (cookies != null) {
			for (int i = 0; i < cookies.length; i++) {
				if (cookies[i].getName().equals("xtYh.vdlzh")) {
					name = cookies[i].getValue();
				}
				if (cookies[i].getName().equals("xtYh.vmm")) {
					password = cookies[i].getValue();
				}
				if (cookies[i].getName().equals("xtYh.cookie")) {
					cookie = cookies[i].getValue();
				}
			}
		}
	} catch (Exception e) {
		e.printStackTrace();
	}
%>
<base href="<%=basePath%>">
<title><%=SysParam.hhSysParam.getSysName() %></title>
<meta http-equiv="keywords" content="struts,spring,hibernate,extjs">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="<%=SysParam.hhSysParam.getSysIcon() %>" />
<script type="text/javascript">
var userName = '<%=name%>';
var password = '<%=password%>';
var cookie = '<%=cookie%>';
</script>
